home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / program / dllmaker.zip / DLLMAKER.DOC next >
Text File  |  1992-01-29  |  2KB  |  39 lines

  1. The Midnight Beach (tm) DllMaker makes it easy to assemble a set of Turbo
  2. Pascal for Windows (TPW) units into a DLL.
  3.  
  4. It reads the units' interface section(s), and builds two new files:  A
  5. `bindings unit' that repeats all type declarations and implements all
  6. procedures as externals in the DLL, and an `export library' that explicitly
  7. exports public procedures *and* object methods.  (The DllMaker builds
  8. EXPORT shell routines in the library that call the object methods.  One
  9. very important restriction is that you should not define a virtual method
  10. in a DLL then call it from outside the DLL:  Objects only contain 16-bit,
  11. near pointers to their virtual method table.)
  12.  
  13. The user interface is pathetically simple and rigid:
  14.   DllMaker RESULT SOURCE [/USES]
  15. The RESULT is a path and file name for the two new files the DllMaker will
  16. create.  The bindings unit source will be placed in RESULT.BND while the
  17. export library source will be placed in RESULT.DLS.  The SOURCE parameter
  18. is any number of unit file names, separated by spaces. (SOURCE names may
  19. include paths, too.) The optional /USES statement allows the bindings unit
  20. and export library to depend on units that are not read:  Anything after
  21. the / will be placed in the export library's uses clause before the names
  22. of the exported units, and will become the uses clause for the bindings
  23. unit. Note that while SOURCE names must be separated by spaces, USES names
  24. must be separated by commas!
  25.  
  26. The DllMaker is supplied "as is", and Midnight Beach does not guarantee
  27. that it is free from errors or shortcomings.
  28.  
  29. The DllMaker is being distributed as shareware.  Please feel free to try it
  30. and/or pass it around.  If you find it useful, please send whatever you
  31. think it's worth to
  32.   Midnight Beach
  33.   1805A Felt Street
  34.   Santa Cruz, California 95062
  35.   408-479-9916
  36. We will send the source to anyone who pays at least $25.
  37.  
  38. Jon Shemitz for Midnight Beach, 1-29-92.
  39.